package org.example.com.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.example.com.Bean.Book;
import org.example.com.Bean.Category;
import org.example.com.Bean.User;
import org.example.com.util.JsonResult;
import org.springframework.stereotype.Service;

@Service
public interface CategoryService extends IService<Category> {
    JsonResult findCategory();

    JsonResult findCategory(int page);
    JsonResult saveCategory(Category category);

    JsonResult updateCategory(Category category);
    JsonResult updateCategoryStatus(String id,int status);
    JsonResult deleteCategory(String id);
}
